<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../js/jquery-3.6.0.js"></script>
    <style>
        * {
            padding: 0;
            margin: 0;
        }

        h3 {
            padding: 20px 10px;
        }

        li {
            list-style: none;
        }

        .list li {
            line-height: 45px;
            text-indent: 10px;
            border: 1px solid #333;
        }

        .buttonGroup {
            margin-top: 20px;
        }

        .active {
            background-color: #6ff;
        }

        /* div[class] {
            font-size: 18px;
        } */
        /* li[class] {
            background: red;
        } */

        /* li[class="first"] {
            background: red;
        } */
        /* li:not([class="first"]) {
            background: red;
        } */
        /* li[class^="f"] {
            background: red;
        } */
        /* li[class$="t"] {
            background: red;
        } */

        /* li[class*="a"] {
            background: red;
        } */
        /* .list li:nth-child(even) {
            background-color: #6ff;
        } */
    </style>
</head>

<body>
    <form>
        <input type="text" />
        <input type="password" />
        <input type="radio" />
        <input type="checkbox" />

        <input type="reset" />
        <input type="submit" />
        <input type="button" value="Input Button" />
        <input type="file" />

        <input type="hidden" />
        <input type="image" />

        <select>
            <option>Option</option>
        </select>

        <textarea></textarea>
        <button>Button</button>

    </form>
</body>
<script>
    // :input 匹配所有 input, textarea, select 和 button 元素
    // :text 
    // :password 
    // :radio 
    // :checkbox 
    // :submit 
    // :image 
    // :reset 
    // :button 
    // :file 
    // :hidden 


    console.log($(":input"));

</script>

</html>